package com.detech.sbom.base.exception;

/**
 * 分布式锁异常
 */
public final class LockException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    private String msg;

    /**
     * 空构造方法，避免反序列化问题
     */
    public LockException() {
    }

    public LockException(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
